<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<link rel="stylesheet" href="${pageContext.request.contextPath}/jquery-ui/jquery-ui.min.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/main.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/datatable.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/infotable.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/themes/icon.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.dataTables.chs.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/jquery-ui/jquery-ui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/api.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/memberMain.js"></script>


<script type="text/javascript">
$(function(){	
	var urlPrefix = "${pageContext.request.contextPath}/api/";
	var memberLoginName= '${memberLoginName}';
	var table = $('#quote_rcord_grid').DataTable({
		paging: true,
		pageLength: 10,
		pagingType: 'full_numbers',
		lengthChange: false,
		searching: false,
		info: false,
		jQueryUI: false,
		ordering: false,
		autoWidth: false,
		columns: [	                
			{data:'tender_title', width:'40%', className: 'dt-body-left'},
			{data:'tender_no', width:'10%', className: 'dt-body-left'},
			{data:'status_name', width:'10%', className: 'dt-body-left'},
			{data:'quote_date', width:'22%', className: 'dt-body-left'},
			{data:'strbid_flag', width:'6%', className: 'dt-body-left'},			
			{data:'tender_pattern_name', width:'12%', className: 'dt-body-left'}
		], 			
		serverSide: true,
		processing: true,
		ajax: {
			url: '${pageContext.request.contextPath}/api/TenderQuoteSearchAPI.json',
			type: 'POST',
			data: function(d) {				
			    var paramData = {};
			    paramData.member_login_name=memberLoginName;				    
			    d.param = JSON.stringify(paramData);
			},
			dataSrc: 'tenderQuotes'
		} 
	});	
	
}); 
	
		
</script>  
  <div style="width: 760px; height:560px; margin: 0 auto; margin-top: 10px; border-radius:10px; border:1px solid #d4d4d4;;">
   <div style="margin-top: 5px;padding-bottom: 5px;padding-left:15px;float:left; border-bottom:1px solid #d4d4d4;">
        <span  style="font-size:15px;">投标记录</span>	         
      </div>
   <table id="quote_rcord_grid">
   	<thead>
           <tr>            
             <th>招标名称</th>
             <th>招标编号</th>
             <th>状态</th>
             <th>投标时间</th>
             <th>中标</th>
             <th>操作</th>
           </tr>
         </thead>
   </table>     
 </div>
